package com.huashi.dealer.modular.business.writeoff.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 核销响应参数
 *
 * @author 谭陈强
 * @since 2025-07-30
 */
@Data
@Schema(description = "核销响应参数")
public class WriteoffResponseParam {

    @Schema(description = "核销日志列表")
    private List<WriteoffItem> writeoffLogList;

    @Schema(description = "核销详情")
    private WriteoffItem writeoff;

    @Data
    @Schema(description = "核销项")
    public static class WriteoffItem {
        @Schema(description = "核销ID")
        private Long writeoffId;

        @Schema(description = "核销金额")
        private String writeoffAmount;

        @Schema(description = "核销类型")
        private Integer writeoffType;

        @Schema(description = "核销状态")
        private Integer writeoffStatus;

        @Schema(description = "创建时间")
        private String createTime;

        @Schema(description = "更新时间")
        private String updateTime;
    }
} 